package com.zuxia.entity;

import org.apache.struts2.json.annotations.JSON;

/**
 * AbstractSmalls entity provides the base persistence definition of the Smalls
 * entity. @author MyEclipse Persistence Tools
 */

public  class Smalls implements java.io.Serializable {


	private Integer smallsId;
	private Bservice bservice;
	private String smallsName;
	private Integer smallsPrice;
	private String smallsIntroduce;

	public Smalls() {
	}

	public Smalls(Bservice bservice, String smallsName,
			Integer smallsPrice) {
		this.bservice = bservice;
		this.smallsName = smallsName;
		this.smallsPrice = smallsPrice;
	}

	public Smalls(Bservice bservice, String smallsName,
			Integer smallsPrice, String smallsIntroduce) {
		this.bservice = bservice;
		this.smallsName = smallsName;
		this.smallsPrice = smallsPrice;
		this.smallsIntroduce = smallsIntroduce;
	}


	public Integer getSmallsId() {
		return this.smallsId;
	}

	public void setSmallsId(Integer smallsId) {
		this.smallsId = smallsId;
	}
	@JSON(serialize=false)
	public Bservice getBservice() {
		return this.bservice;
	}

	public void setBservice(Bservice bservice) {
		this.bservice = bservice;
	}

	public String getSmallsName() {
		return this.smallsName;
	}

	public void setSmallsName(String smallsName) {
		this.smallsName = smallsName;
	}

	public Integer getSmallsPrice() {
		return this.smallsPrice;
	}

	public void setSmallsPrice(Integer smallsPrice) {
		this.smallsPrice = smallsPrice;
	}

	public String getSmallsIntroduce() {
		return this.smallsIntroduce;
	}

	public void setSmallsIntroduce(String smallsIntroduce) {
		this.smallsIntroduce = smallsIntroduce;
	}

	public String toString() {
		return "Smalls [smallsId=" + smallsId + ", bservice=" + bservice + ", smallsName=" + smallsName
				+ ", smallsPrice=" + smallsPrice + ", smallsIntroduce=" + smallsIntroduce + "]";
	}

}